package com.study.mike.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author KangHui
 * @Date 2023/7/27 14:59
 */
@Data
@TableName("amount_count")
public class AmountCount {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 数量
     */
    @TableField(value = "num")
    private BigDecimal num;
}
